package com.liu.service.intf;

import com.liu.entity.Employee;
import com.liu.vo.PageBeanJson;
import com.liu.vo.R;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface EmployeeService {
    //新增
    R save(Employee employee);
    //查询
    PageBeanJson queryPage(int page, int limit);
    //删除
    R del(int id);
    //修改
    R update(Employee employee);
    //查询 条件
    PageBeanJson queryPageWhere(String empname,int page,int limit);
    //批量删除
    R delBatch(int[] ids);
    List<Employee> queryAll();
    //实现导入
    R saveBatch(MultipartFile file) throws IOException;
    //实现统计
    R queryTj();
}
